class AddFieldsToUsers < ActiveRecord::Migration
  def self.up
  	transaction do
  		add_column :users, :theme, :string
  		add_column :users, :is_context_menu, :boolean, :default=>false
  		add_column :users, :black_list, :text
  	end
  end

  def self.down
  	transaction do
  		remove_column :users, :theme
  		remove_column :users, :is_context_menu
  		remove_column :users, :black_list
  	end
  end
end
